package com.jsmile.cloud.msgcenter.zf.strategy.interfaces;

import java.util.List;
import java.util.Map;

import com.egzosn.pay.common.bean.RefundResult;
import com.jsmile.cloud.accountcenter.api.enums.PayTypeEnum;
import com.jsmile.cloud.msgcenter.pay.model.PayOrderInfo;
import com.jsmile.cloud.msgcenter.pay.model.RefundOrderInfo;

/**
 * 统一支付接口
 */
public interface IPay {

    /**
     * 统一下单
     */
    Map pay(List<PayOrderInfo> payOrders);

    /**
     * 统一退款
     */
    RefundResult refund(RefundOrderInfo refundOrderInfo);

    PayTypeEnum payType();
}
